package com.zhaopin.bean;

import java.util.Optional;

/**
 * @author yin.peide
 * @date 2021-04-27 15:10
 */
public class User implements Cloneable{

    private String email;
    private String passwd;
    private String position;

    public void setPosition(String position) {
        this.position = position;
    }

    public Optional<String> getPosition() {
        return Optional.ofNullable(position);
    }


    public User() {
    }

    public User(String email, String passwd) {
        this.email = email;
        this.passwd = passwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
}
